package cpm.itheima.controller;

import cpm.itheima.models.User;
import cpm.itheima.service.UserService;
import org.springframework.stereotype.Component;

@Component
public class UserController {
    private UserService userService;
    public  void  saveUser(User user){
        System.out.println("UserController.saveUser");
        userService.saveUser(user);
    }
}
